noinst_PROGRAMS = \
				  test \
				  dtest \
				  dtest1

common_ldflags = \
				 ${top_builddir}/src/liblist.la

test_SOURCE = test.c
test_LDADD = $(common_ldflags)

dtest_SOURCE = dtest.c
dtest_LDADD = $(common_ldflags)

dtest1_SOURCE = dtest1.c
dtest1_LDADD = $(common_ldflags)

AM_CPPFLAGS = \
			  -D_FILE_OFFSET_BITS=64 \
			  -DSO_RXQ_OVFL=40 \
			  -include $(top_builddir)/config.h \
			  -DSYSCONFDIR=\""$(sysconfdir)"\" \
			  -DLIBEXECDIR=\""$(libexecdir)"\" \
			  -I${top_srcdir}/src \
			  -I${top_builddir}/src

AM_CFLAGS = ${my_CFLAGS}
AM_CFLAGS += --static
AM_LDFLAGS = -static

CLEANFILES = *~
